import Vue from 'vue';
import App from './App.vue';
import router from './router';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'; // 默认主题
// import './assets/css/theme-green/index.css'; // 浅绿色主题
import './assets/css/icon.css';
import './components/common/directives';
import 'babel-polyfill';
import VDistpicker from 'v-distpicker';
import HttpRequest from './libs/api.request'
import util from './libs/util'
Vue.component('v-distpicker', VDistpicker)
Vue.prototype.$http = HttpRequest;
Vue.prototype.$util = util;
Vue.config.productionTip = false;

Vue.use(ElementUI, {
    size: 'small'
});

new Vue({
    router,
    render: h => h(App)
}).$mount('#app');
